Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add, test/{end,start}.js; Update, lib/index.js #5

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Add, test/{end,start}.js; Update, lib/index.js #5

wants to merge 11 commits into from

Conversation

amagura
Copy link

@amagura amagura commented Jan 23, 2014

test/{end,start}.js:
tests showing how to use the new queue targets: first and last.

lib/index.js:

  1. added support for new queue targets: first and last.
    • `first' can be used to create an infinite loop, which might be desirable in the case of watchers: programs that watch other programs and alert peeps when those programs die.
    • `last' can be used to skip all following steps except the very last.

dopm and others added 6 commits January 22, 2014 19:56
test/{end,start}.js:
  tests showing how to use the new queue targets: `first' and `last'.

lib/index.js:
  1. added support for new queue targets: `first' and `last'.
    First can be used to create an infinite loop, which might be desirable in the case of watchers: programs that watch other programs and alert peeps when those programs die.
…x.js

end-begin.js:
  Combined both the `start.js` and the `end.js` tests into a single test file.

index.js:
  1. changed `last` -> `ending`
  2. changed `first` -> `beginning`
* Added another test for beginning and ending
* Added usage-examples of beginning and ending to the README
fixed a typo

```javascript
var cats = [ 'Gary' ];
stewardess(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make the example simpler and more straightforward. We don't want people getting bogged down in grokking a ternary

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k, gotcha.

@amagura
Copy link
Author

amagura commented Mar 31, 2014

@regality ready for you to review again, I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants